home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950329-19950528
/
000137_news@columbia.edu_Fri Apr 14 22:01:32 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA25128
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Fri, 14 Apr 1995 18:01:36 -0400
Received: by apakabar.cc.columbia.edu id AA16409
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Fri, 14 Apr 1995 18:01:34 -0400
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit in background
Date: 14 Apr 1995 22:01:32 GMT
Organization: Columbia University
Lines: 33
Message-Id: <3mmrbs$g0m@apakabar.cc.columbia.edu>
References: <3mmf9b$ial@meaddata.meaddata.com>
Nntp-Posting-Host: watsun.cc.columbia.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <3mmf9b$ial@meaddata.meaddata.com>,
Robert Gerardy <robertg@meaddata.com> wrote:
: The version of kermit we have (C-kermit?), when I run it with -riqd
: command line options, appears to attempt to open /dev/tty and otherwise
: behave in an unacceptable manner :-). Is there some way to make it do
: what I want, or is there a program that just implements the protocol
: using stdin/stdout as the port, without all the interactive program
: baggage?
:
All of those. Just read the documentation.
: I have a program that dials a modem and connects to a remote system. It
: then executes a dialog with a kermit on the remote to set it up to
: transfer a file. Then I want it to receive the file via kermit on my
: local system. I want kermit to just come up, receive a file via
: stdin/stdout and then go away. The whole thing will be executed via a
: crontab, so there will be no /dev/tty. This is on a Sun/Solaris box.
:
This is a roundabout way of doing what you want. You don't need to
write a program to do this -- Kermit itself can do all of it. Just
make a Kermit command file (script program) that does the dialing,
the logging in, the starting of Kermit on the other end, and the
transferring of files. It's much more straightforward that way, and it's
how C-Kermit was designed to work. See Chapters 11-13 of "Using C-Kermit".
You can also make it work in the setup you have, but it's more
complicated. The best way of doing it is by having your program pass
the communication line's file descriptor to Kermit in the -l command-line
option. Read about this in Chapter 14 of "Using C-Kermit".
Btw, the current version of C-Kermit is 5A(190).
- Frank